<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="/common/meta.jsp"></jsp:include>
<jsp:include page="/common/css_js.jsp"></jsp:include>
<LINK rel=stylesheet type=text/css href="<%=contextPath%>/css/list.css">
<link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/navtop_2011.css">
<SCRIPT type=text/javascript><!--
	try { document.domain = "csdn.net"; } catch (ex) { };
    function reLoad() {
        var name = navigator.appName
        var vers = navigator.appVersion
        if (name == 'Netscape') {
            window.location.reload(true)
        }
        else {
            history.go(0)
        }
       }
    
    function openPage(ev, url) {
    	var element = ev.srcElement || ev.target;
    	if (!element.parentNode) return;
    	if (typeof document.all == "object") {
    		var a = document.createElement("A");
    		a.target = "_blank";
    		a.href = url;
    		document.body.appendChild(a);
    		a.click();
    		setTimeout(function() { a.parentNode.removeChild(a); }, 50);
    	}
    	else window.open(url, "_blank");
    }
    
  //鼠标移动到的列表记录颜色
	function listSelect(listPosition){
	   	listPosition.runtimeStyle.color = "#000000";
	   	listPosition.runtimeStyle.backgroundColor = "white";
	   	listPosition.runtimeStyle.cursor = "hand";
	}
	//鼠标离开时恢复列表记录颜色
	function listUnSelect(listPosition){
	   	listPosition.runtimeStyle.color = "";
	   	listPosition.runtimeStyle.backgroundColor = "";
	}
    	
//--></SCRIPT>

<BODY>
<s:iterator value="algList" var="alg">
	${alg.algName}<br/>
</s:iterator>
<div style="MARGIN: 0px auto; WIDTH: 100%; OVERFLOW: hidden">
  <div class="nav_top_2011">
    <p>
      <span style="color:red;">您还未登录！</span>
      |
      <a href="http://passport.csdn.net/UserLogin.aspx">登录</a>
      |
      <a href="http://passport.csdn.net/CSDNUserRegister.aspx">注册</a>
      |
      <a href="http://passport.csdn.net/help/faq">帮助</a>
    </p>
    <ul>
      <li>
        <a href="http://www.codejob.net/" target="_blank">首页</a>
      </li>
      <li>
        <a href="#" target="_blank">算法</a>
      </li>
      <li>
        <a href="#" target="_blank">项目</a>
      </li>
      <li>
        <a href="#" target="_blank">工作</a>
      </li>
    </ul>
  </div>
</div>
<SCRIPT language=javascript type=text/javascript>
    <!--
  
    	function Search(ev, type) {
    		var element = ev.srcElement || ev.target;
    		if (!element.parentNode) return;
    		var inputs = element.parentNode.getElementsByTagName("input");
    		var url = "";
    		for (var i = 0; i < inputs.length; i++) {
    			if ((/^key$/i).test(inputs[i].name)) {
    				url = inputs[i].value;
    				break;
    			}
    		}
    		var searchPage;
    		if (type == "advanced") searchPage = "http://so.csdn.net/advanced_search.aspx";
    		else searchPage = "http://so.csdn.net/bbsSearchResult.aspx";
    		if ((url == "") || (url == "这里也许就有您要的答案")) {
    			if (type == "advanced")
    				url = "http://so.csdn.net/advanced_search.aspx";
    			else
    				url = "http://so.csdn.net/bbs.aspx";
    		}
    		else if (encodeURIComponent) url = searchPage + "?q=" + encodeURIComponent(url);
    		else url = searchPage + "?q=" + escape(url);
    		if (document.all && typeof (document.all) == "object") {
    			var a = document.createElement("A");
    			a.target = "_blank";
    			a.href = url;
    			document.body.appendChild(a);
    			a.click();
    			setTimeout(function() { a.parentNode.removeChild(a); }, 50);
    		}
    		else window.open(url, "_blank");
    	}

    	function GoKeyDown(ev) { if (ev.keyCode == 13) Search(ev, ""); }

    	function getCookie(name) {
    		var re = new RegExp("(\;|^)[^;]*(" + name + ")\=([^;]*)(;|$)");
    		var match = re.exec(document.cookie);
    		return match != null ? unescape(match[3]) : null;
    	}

    	function displayVisitor() {
    		var username = getCookie("UserName");
    		if (!username || (/^guest$/i).test(username)) username = "游客";
    		if ($("exit")) $("exit").style.display = username == "游客" ? "none" : "";
    		if ($("login")) {
    			$("login").style.display = username == "游客" ? "" : "none";
    			$("login").href = "http://passport.csdn.net/UserLogin.aspx?from=" + encodeURIComponent("" + location);
    		}
    		if ($("register")) $("register").style.display = username == "游客" ? "" : "none";
    		if ($("vName")) $("vName").innerHTML = username;
    	}

    	function addEventHandler(target, type, func) {
    		if (target.addEventListener)
    			target.addEventListener(type, func, false);
    		else if (target.attachEvent)
    			target.attachEvent("on" + type, func);
    		else target["on" + type] = func;
    	}

    	displayVisitor();
    //-->
    </SCRIPT>

<DIV class=chal>
<DIV class=conts>
<DL>
  <DD class=right>
  <UL>
    <LI class=redtwo>插入排序 
    <LI><DFN>实现语言及个数：</DFN> 
	    <EM>
		    <EM><A href="#" target=_blank>JAVA(5)</A></EM><BR>
		    <EM><A href="#" target=_blank>C(4)</A></EM><BR>
		    <EM><A href="#" target=_blank>C++(1)</A></EM>
	    </EM>     
 </LI></UL></DD></DL>
</DIV>
<DIV class=titlefull>
<DIV class=title><SPAN class=login><INPUT 
onblur="if(!this.value)this.value='这里也许就有你要的答案... ';return true;" 
onfocus="if(this.value=='这里也许就有你要的答案... ')this.value='';return true;" 
onkeyup=GoKeyDown(event); name=key value="这里也许就有你要的答案... " size=25> <INPUT 
class=btn onclick="Search(event,'');return false;" src="<%=contextPath%>/images/algorithm/search1.gif" 
type=image> </SPAN><A href="#" 
target=_Blank>codejob</A> - <A href="#" 
target=_Blank>算法社区</A> - <A href="#" 
target=_Blank>排序</A> - <A>插入排序</A> </DIV>
<SCRIPT type=text/javascript>
				addEventHandler(window, "load", function () {
					annsouncementScroll();
				});

				var annsdelay = 3000;
				var annsst = 0;
				var annsstop = 0;
				var annsrowcount = 0;
				var annscount = 0;

				function scrolls(id) {
					return document.getElementById(id);
				}

				var lis = scrolls("annsbodylis").getElementsByTagName("li");
				for (var i = 0; i < lis.length; i++) {
					switch (i % 3) {
						case 1:
							lis[i].getElementsByTagName("a")[0].className = "cen";
							break;
						case 2:
							lis[i].getElementsByTagName("a")[0].className = "rig";
							break;
					}
				}
				
				var annsrows = new Array();
				var annsstatus;
				function annsouncementScroll() {
					var annslis = scrolls('annsbody').getElementsByTagName("li");
					if (annsstop) {
						annsst = setTimeout('annsouncementScroll()', annsdelay);
						return;
					}
					if (!annsst) {
						var lasttop = -1;
						for (i = 0; i < annslis.length; i++) {

							if (lasttop != annslis[i].offsetTop) {
								if (lasttop == -1) {
									lasttop = 0;
								}
								annsrows[annsrowcount] = annslis[i].offsetTop - lasttop;
								annsrowcount++;
							}
							lasttop = annslis[i].offsetTop;
						}

						if (annsrows.length == 1) {
							scrolls('anns').onmouseover = scrolls('anns').onmouseout = null;
						} else {
							annsrows[annsrowcount] = annsrows[1];
							scrolls('annsbodylis').innerHTML += scrolls('annsbodylis').innerHTML;
							annsst = setTimeout('annsouncementScroll()', annsdelay);
						}
						annsrowcount = 1;
						return;
					}

					if (annsrowcount >= annsrows.length) {
						scrolls('annsbody').scrollTop = 0;
						annsrowcount = 1;
						annsst = setTimeout('annsouncementScroll()', annsdelay);
					} else {
						annscount = 0;
						annsouncementScrollnext(annsrows[annsrowcount]);
					}
				}

				function annsouncementScrollnext(time) {
					scrolls('annsbody').scrollTop++;
					annscount++;
					if (annscount != time) {
						annsst = setTimeout('annsouncementScrollnext(' + time + ')', 10);
					} else {
						annsrowcount++;
						annsst = setTimeout('annsouncementScroll()', annsdelay);
					}
				}
			</SCRIPT>
</DIV></DIV>
<DIV class=cons>
<DIV class=conls>
<DIV class=clcs>
<DIV class=tab>
<UL>
  <LI class=ch><A 
  href="#">待解决</A></LI>
  <LI><A href="#">已解决</A></LI>
  <LI><A href="#">版主管理</A></LI></UL></DIV>
<DIV class=ctlp><SPAN><INPUT class=btn onclick="openPage(event, '#')" value=发　帖 type=button> 
<INPUT class=ref onclick=reLoad();LogClickCount(this,158); value=刷　新 type=button> 
</SPAN><!-- 分页栏开始 //-->
<UL class=paginationBar>
  <LI><SPAN>最新：500&nbsp;篇&nbsp;共10&nbsp;页&nbsp;</SPAN></LI>
  <LI class=current><A href="#">1</A> </LI>
  <LI><A 
  href="#">2</A></LI>
  <LI><A 
  href="#">3</A></LI>
  <LI><A 
  href="#">4</A></LI>
  <LI><A 
  href="#">5</A></LI>
  <LI><A 
  href="#">6</A></LI>
  <LI><A 
  href="#">7</A></LI>
  <LI><A 
  href="#">8</A></LI>
  <LI><A 
  href="#">9</A></LI>
  <LI><A 
  href="#">10</A></LI></UL><!--分页栏结束//-->
<DIV class=page><A onclick=LogClickCount(this,157) 
href="#" target=_blank>更多...</A></DIV></DIV>
<FORM method=post action="">
<DIV class=cont>
<!--<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">-->
<!--  <TBODY>-->
<!--  <TR>-->
<!--    <TH class=tit colSpan=2>公告</TH></TR>-->
<!--  <TR>-->
<!--    <TD>-->
<!--      <TABLE border=0 cellSpacing=5 cellPadding=0 width="100%">-->
<!--        <TBODY>-->
<!--        <TR>-->
<!--          <TD class=list width="50%"><A -->
<!--            style="COLOR: #ff0000; FONT-WEIGHT: bold" -->
<!--            href="#" -->
<!--            target=_blank>通知：获奖“黑莓发贴达人”速来登记</A> </TD>-->
<!--          <TD class=list width="50%"><A style="COLOR: #000000" -->
<!--            href="#" -->
<!--            target=_blank>【免费下载】2010-2011中国嵌入式开发从业人员调查报告</A> </TD></TR>-->
<!--        <TR>-->
<!--          <TD class=noline width="50%"><A style="COLOR: #000000" -->
<!--            href="#" -->
<!--            target=_blank>思科实验学习新法宝</A> </TD>-->
<!--          <TD class=noline width="50%"><A style="COLOR: #000000" -->
<!--            href="#" -->
<!--            target=_blank>黑马程序员薪水曝光（平均7k）</A> -->
<!--</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>-->
<TABLE class=ell border=0 cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TH class=left width="58%">标题</TH>
    <TH width="4%">分数</TH>
    <TH width="14%">发帖人</TH>
    <TH width="4%">回复</TH>
    <TH width="14%">更新时间</TH>
    <TH width="6%">功能</TH></TR>
  <TR class=light onmouseover='listSelect(this)' onmouseout='listUnSelect(this)'>
    <TD style="WORD-BREAK: break-all" class=left><STRONG><FONT 
      color=green>？</FONT></STRONG> <A title=activeMQ的性能 
      href="#" 
      target=_blank>activeMQ的性能</A> </TD>
    <TD>100 </TD>
    <TD><A href="http://hi.csdn.net/gaofuqi" target=_blank>gaofuqi 
      </A><BR><SPAN class=gray>07-12 09:19</SPAN> </TD>
    <TD>9 </TD>
    <TD><A href="http://hi.csdn.net/liboofsc" target=_blank>liboofsc 
      </A><BR><SPAN class=gray>07-13 11:03 </SPAN></TD>
    <TD><A 
      href="http://forum.csdn.net/PointForum/Manage/TopicManageView.aspx?forumID=2efca177-6b51-42d9-a509-0216fbca231e&amp;topicID=7db4fdf8-c57c-4df7-9253-8339951c29d3&amp;date=2011-07-12+09%3a19%3a33&amp;v=-1" 
      target=_blank>管理</A> </TD></TR>
  <TR class=back onmouseover='listSelect(this)' onmouseout='listUnSelect(this)'>
    <TD style="WORD-BREAK: break-all" class=left><STRONG><FONT 
      color=green>？</FONT></STRONG> <A title="java 导出excel百万级数据量" 
      href="http://topic.csdn.net/u/20110713/09/93369538-44a2-4a21-a3db-3b3a354d638b.html" 
      target=_blank>java 导出excel百万级数据量</A> </TD>
    <TD>30 </TD>
    <TD><A href="http://hi.csdn.net/flyingfish1987" 
      target=_blank>flyingfish1987 </A><BR><SPAN class=gray>07-13 09:56</SPAN> 
    </TD>
    <TD>16 </TD>
    <TD><A href="http://hi.csdn.net/flyingfish1987" 
      target=_blank>flyingfish1987 </A><BR><SPAN class=gray>07-13 11:01 
    </SPAN></TD>
    <TD><A 
      href="http://forum.csdn.net/PointForum/Manage/TopicManageView.aspx?forumID=2efca177-6b51-42d9-a509-0216fbca231e&amp;topicID=93369538-44a2-4a21-a3db-3b3a354d638b&amp;date=2011-07-13+09%3a56%3a53&amp;v=-1" 
      target=_blank>管理</A> </TD></TR>
  <TR class=light onmouseover='listSelect(this)' onmouseout='listUnSelect(this)'>
    <TD style="WORD-BREAK: break-all" class=left><STRONG><FONT 
      color=green>？</FONT></STRONG> <A 
      title=菜鸟急求一个连接sql2005+s2sh的小项目，只要有登录注册就OK了 
      href="http://topic.csdn.net/u/20110711/22/a6831725-cfeb-4e07-9063-53cf93e9786a.html" 
      target=_blank>菜鸟急求一个连接sql2005+s2sh的小项目，只要有登录注册就OK了</A> </TD>
    <TD>50 </TD>
    <TD><A href="http://hi.csdn.net/romantic_PK" target=_blank>romantic_PK 
      </A><BR><SPAN class=gray>07-11 22:57</SPAN> </TD>
    <TD>14 </TD>
    <TD><A href="http://hi.csdn.net/clnlkw3" target=_blank>clnlkw3 
      </A><BR><SPAN class=gray>07-13 11:00 </SPAN></TD>
    <TD><A 
      href="http://forum.csdn.net/PointForum/Manage/TopicManageView.aspx?forumID=2efca177-6b51-42d9-a509-0216fbca231e&amp;topicID=a6831725-cfeb-4e07-9063-53cf93e9786a&amp;date=2011-07-11+22%3a57%3a35&amp;v=-1" 
      target=_blank>管理</A> </TD></TR>
  <TR class=back onmouseover='listSelect(this)' onmouseout='listUnSelect(this)'>
    <TD style="WORD-BREAK: break-all" class=left><STRONG><FONT 
      color=green>？</FONT></STRONG> <A 
      title="Redirect requested but followRedirects is disabled 有人遇到过吗？" 
      href="http://topic.csdn.net/u/20110417/15/b9ed113d-ef71-4e69-857e-ec833dbd97f1.html" 
      target=_blank>Redirect requested but followRedirects is disabled 
      有人遇到过吗？</A> </TD>
    <TD>40 </TD>
    <TD><A href="http://hi.csdn.net/nayouzenmyang" target=_blank>nayouzenmyang 
      </A><BR><SPAN class=gray>04-17 15:35</SPAN> </TD>
    <TD>3 </TD>
    <TD><A href="http://hi.csdn.net/shizhijie0" target=_blank>shizhijie0 
      </A><BR><SPAN class=gray>07-13 10:45 </SPAN></TD>
    <TD><A 
      href="http://forum.csdn.net/PointForum/Manage/TopicManageView.aspx?forumID=2efca177-6b51-42d9-a509-0216fbca231e&amp;topicID=b9ed113d-ef71-4e69-857e-ec833dbd97f1&amp;date=2011-04-17+15%3a35%3a57&amp;v=-1" 
      target=_blank>管理</A> </TD></TR>
  <TR class=light onmouseover='listSelect(this)' onmouseout='listUnSelect(this)'>
    <TD style="WORD-BREAK: break-all" class=left><STRONG><FONT 
      color=green>？</FONT></STRONG> <A title=整合SSH2时,hibernate配好主外键关联，数据添加不上！ 
      href="http://topic.csdn.net/u/20110712/19/d1dbabfc-7b0f-4344-b3a0-baed732de273.html" 
      target=_blank>整合SSH2时,hibernate配好主外键关联，数据添加不上！</A> </TD>
    <TD>30 </TD>
    <TD><A href="http://hi.csdn.net/longjiaoying" target=_blank>longjiaoying 
      </A><BR><SPAN class=gray>07-12 19:49</SPAN> </TD>
    <TD>6 </TD>
    <TD><A href="http://hi.csdn.net/liuyuhua0066" target=_blank>liuyuhua0066 
      </A><BR><SPAN class=gray>07-13 08:43 </SPAN></TD>
    <TD><A 
      href="http://forum.csdn.net/PointForum/Manage/TopicManageView.aspx?forumID=2efca177-6b51-42d9-a509-0216fbca231e&amp;topicID=d1dbabfc-7b0f-4344-b3a0-baed732de273&amp;date=2011-07-12+19%3a49%3a19&amp;v=-1" 
      target=_blank>管理</A> </TD></TR>
  <TR class=back onmouseover='listSelect(this)' onmouseout='listUnSelect(this)'>
    <TD style="WORD-BREAK: break-all" class=left><STRONG><FONT 
      color=green>？</FONT></STRONG> <A 
      title="JSP中加入DB2Driver(db2jcc.jar)出现错误 无法部署 resloves to a package" 
      href="http://topic.csdn.net/u/20110712/22/a3bb8537-f1e6-449d-a3d8-62a407ffee59.html" 
      target=_blank>JSP中加入DB2Driver(db2jcc.jar)出现错误 无法部署 resloves to a 
      package</A> </TD>
    <TD>40 </TD>
    <TD><A href="http://hi.csdn.net/qqq122483385" target=_blank>qqq122483385 
      </A><BR><SPAN class=gray>07-12 22:32</SPAN> </TD>
    <TD>1 </TD>
    <TD><A href="http://hi.csdn.net/qqq122483385" target=_blank>qqq122483385 
      </A><BR><SPAN class=gray>07-13 08:24 </SPAN></TD>
    <TD><A 
      href="http://forum.csdn.net/PointForum/Manage/TopicManageView.aspx?forumID=2efca177-6b51-42d9-a509-0216fbca231e&amp;topicID=a3bb8537-f1e6-449d-a3d8-62a407ffee59&amp;date=2011-07-12+22%3a32%3a31&amp;v=-1" 
      target=_blank>管理</A> </TD></TR>
  
  <TR>
    <TH class=left width="58%">标题</TH>
    <TH width="4%">分数</TH>
    <TH width="14%">发帖人</TH>
    <TH width="4%">回复</TH>
    <TH width="14%">更新时间</TH>
    <TH width="6%">功能</TH></TR></TBODY></TABLE></DIV>
<DIV id=sidebar><!-- 此处预留给未来的边条 --></DIV>
<DIV class=clear></DIV>
<DIV style="CLEAR: both" class=ctlp><SPAN><INPUT class=ref onclick=reLoad();LogClickCount(this,158); value=刷　新 type=button> 
</SPAN><!-- 分页栏开始 //-->
<UL class=paginationBar>
  <LI><SPAN>最新：500&nbsp;篇&nbsp;共10&nbsp;页&nbsp;</SPAN></LI>
  <LI class=current><A href="#">1</A> </LI>
  <LI><A 
  href="#">2</A></LI>
  <LI><A 
  href="#">3</A></LI>
  <LI><A 
  href="#">4</A></LI>
  <LI><A 
  href="#">5</A></LI>
  <LI><A 
  href="#">6</A></LI>
  <LI><A 
  href="#">7</A></LI>
  <LI><A 
  href="#">8</A></LI>
  <LI><A 
  href="#">9</A></LI>
  <LI><A 
  href="#">10</A></LI></UL><!--分页栏结束//-->
<DIV class=page><A onclick=LogClickCount(this,157) 
href="http://topic.csdn.net/s/J2EE/0.html" 
target=_blank>更多...</A></DIV></DIV></FORM></DIV></DIV></DIV>
<DIV class=bmles></DIV>

<SCRIPT language=javascript type=text/javascript>
ad_width=468;
ad_height=60;
adcss=2;
unionuser=23;
tags='java';
ad_type='j';
count=3;
    </SCRIPT>

<DIV class=clear></DIV>
<SCRIPT type=text/javascript>
var links = document.getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
	if (/\/u\/\d{8}\/\d{2}\//i.test(links[i].href)) {
		links[i].onclick = function() {
			var text = this.innerHTML;
			this.href = this.href.replace(/^(.*\/u\/\d{8}\/\d{2}\/[a-f\d-]+\.(html|asp))(.*)/, "$1") + "?" + Math.floor(1e5 * Math.random());
			if (this.innerHTML != text) this.innerHTML = text;
		}
	}
}
	</SCRIPT>
</BODY></HTML>
